package com.apps.diet.domain;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "nutrifacts")
@Entity
@Table(name="NutriFacts")
public class NutriFacts {
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="NutriFactsId")
	int nutriFactsId;
	
	@Column(name="ItemName")
	String itemName;

	@Column(name="MeasuringQty")
	String measuringQty;
	
	@Column(name="MeasuringUnit")
	String measuringUnit;
	
	@Column(name="CarbsFact")
	String carbsFact;
	
	@Column(name="ProteinFact")
	String proteinFact;
	
	@Column(name="FatFact")
	String fatFact;

	@Column(name="Modify_by")
	String modifyBy;
	
	@Column(name="Modify_dt")
	Date modifyDt;
	
	public int getNutriFactsId() {
		return nutriFactsId;
	}

	public void setNutriFactsId(int nutriFactsId) {
		this.nutriFactsId = nutriFactsId;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getMeasuringQty() {
		return measuringQty;
	}

	public void setMeasuringQty(String measuringQty) {
		this.measuringQty = measuringQty;
	}

	public String getMeasuringUnit() {
		return measuringUnit;
	}

	public void setMeasuringUnit(String measuringUnit) {
		this.measuringUnit = measuringUnit;
	}

	public String getCarbsFact() {
		return carbsFact;
	}

	public void setCarbsFact(String carbsFact) {
		this.carbsFact = carbsFact;
	}

	public String getProteinFact() {
		return proteinFact;
	}

	public void setProteinFact(String proteinFact) {
		this.proteinFact = proteinFact;
	}

	public String getFatFact() {
		return fatFact;
	}

	public void setFatFact(String fatFact) {
		this.fatFact = fatFact;
	}
	public String getModifyBy() {
		return modifyBy;
	}

	public void setModifyBy(String modifyBy) {
		this.modifyBy = modifyBy;
	}

	public Date getModifyDt() {
		return modifyDt;
	}

	public void setModifyDt(Date modifyDt) {
		this.modifyDt = modifyDt;
	}

}
